<?php

declare(strict_types=1);

namespace App\Info\Model;

use Mine\MineModel;

/**
 * @property int $id ID
 * @property string $name 分类名称
 * @property string $ask_require 要求
 * @property string $salary_benefits 薪资待遇
 * @property string $addr 创建者
 * @property string $remark 备注
 * @property int $display_order
 * @property int $status 状态
 * @property int $create_time 创建时间
 * @property int $update_time 更新时间
 */
class InfoRecruitment extends MineModel
{
    protected ?string $dateFormat = 'U';
    const CREATED_AT = 'create_time';
    const UPDATED_AT = 'update_time';
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'info_recruitment';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'name', 'ask_require', 'salary_benefits','display_order', 'addr', 'remark', 'status', 'create_time', 'update_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'status' => 'integer', 'create_time' => 'integer', 'update_time' => 'integer'];
}
